<section class="container container-fluid">
    <section class="row-fluid">
        <section class="span12 portfolio mbtm2">
            <div class="title-holder"><h2>Dự án<?php
                    if (isset($category)) {
                        echo ' - ' . $category->name;
                    }
                    ?></h2></div>
        </section>
    </section>
    <section class="row-fluid">
        <div class="row-project">
            <div class="gdl-page-left mb0 twelve columns-project">
                <div class="row-project">
                    <div class="gdl-page-item mb20 twelve columns-project">
                        <div class="row-project">
                            <div class="twelve columns-project mb0">
                                <div class="gdl-page-content"></div>
                            </div>
                            <div class="clear"></div>                            
                        </div>
                        <div class="row-project">
                            <div class="twelve columns-project ">
                                <div class="gdl-gallery-item">
                                    <?php
                                    $i = 0;
                                    foreach ($lst_project as $project) {
                                        ?>
                                        <?php if ($i % 4 == 0) echo '<div class="row-project">'; ?>
                                        <div class="three columns-project mb20">
                                            <div class="gdl-gallery-image">
                                                <a title="" href="<?php echo base_url().'du-an/chi-tiet/'.$project->permalink;?>">
                                                    <img alt="" src="<?php echo $project->image;?>"/>
                                                </a>
                                            </div>
                                        </div>
                                        <?php if ($i % 4 == 3) echo '</div>'; ?>
                                        <?php $i++;
                                    } ?>                                    
                                </div>
                            </div>
                        </div>
                        <div class="paging">
                            <?php echo $list_link;?>
                        </div>                        
                    </div>
                </div>
            </div>
        </div>
    </section>
</section>